home *** CD-ROM | disk | FTP | other *** search
- Path: news.erg.cuhk.hk!pmliu
- From: pmliu@ee.cuhk.hk (Liu_Pak_Man)
- Newsgroups: comp.lang.c++
- Subject: Programming RS-232 under WINODWS.. Pls Help.
- Date: 22 Jan 1996 08:21:19 GMT
- Organization: Engineering Faculty CUHK
- Message-ID: <4dvhdv$aau@eng_ser1.erg.cuhk.hk>
- NNTP-Posting-Host: ws332n.ee.cuhk.hk
-
- Dear all,
-
- I am a student currently working on Asyn. COMM port using bc4.0 for
- windows. But I faced a little difficulties.
-
- First: I could only find an API command "transmitchar()" to send a char to
- the COM port. But I cannot find the counterpart, receive function !!
- Is there no such a function ?
-
- Second: After that i tried to call _bios_serialcom() and inportb() in Bios.h
- to ease the case. But there are even more problems.
-
- 1. Error: undefined symbol _bios_serialcom() ???!!! But it's really
- exist in Bios.h .
-
- 2. Inportb() returns nothing !!
-
- So is there a receiving queue used to buffer the receiving bytes ? If it is,
- what simple method can I retrieve the data ?
-
- Please help.. by e-mailing to me
- Any participation in answering will be appreciate
-
- Thanks
-
- CU EE
-